﻿@using System.Globalization
@using Abp.Timing
@using PithyDesign.Web.Views.Shared.Components.LanguageSelection
@using PithyDesign.Web.Views.Shared.Components.TopMenu
@using Abp.Web.Security.AntiForgery
@inject IAbpAntiForgeryManager AbpAntiForgeryManager
@using Abp.Web.Mvc.Alerts
@inject IAlertManager AlertManager
@{
    AbpAntiForgeryManager.SetCookie(Context);
}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <link rel="shortcut icon" href="~/favicon.ico">
    <title>PithyDesign</title>

    <!-- Global styles -->
    <environment names="Development">
        <link rel="stylesheet" href="~/lib/toastr/toastr.css" />
        <link rel="stylesheet" href="~/lib/sweetalert/dist/sweetalert.css" />
        <link rel="stylesheet" href="~/lib/famfamfam-flags/dist/sprite/famfamfam-flags.css" />
        <link rel="stylesheet" href="~/lib/font-awesome/css/font-awesome.css" />
    </environment>

    <environment names="Staging,Production">
        <link rel="stylesheet" href="~/lib/toastr/toastr.min.css" />
        <link rel="stylesheet" href="~/lib/sweetalert/dist/sweetalert.css" />
        <link rel="stylesheet" href="~/lib/famfamfam-flags/dist/sprite/famfamfam-flags.min.css" />
        <link rel="stylesheet" href="~/lib/font-awesome/css/font-awesome.min.css" />
        @*<link rel="stylesheet" href="~/view-resources/Views/_Bundles/layout-libs.min.css" asp-append-version="true" />*@
    </environment>

    <link rel="stylesheet" href="~/lib/layui/css/layui.css" />
    <link rel="stylesheet" href="~/css/font.css" />
    <link rel="stylesheet" href="~/css/main.css" />

    <!-- View specific styles -->
    @RenderSection("styles", required: false)

    @*<script type="text/javascript">
            //This is used to get the application's root path from javascript. It's useful if you're running application in a virtual directory under IIS.
            var abp = abp || {}; abp.appPath = '@ApplicationPath';
        </script>*@

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    @*<!--[if lt IE 9]>
            <script src="@Url.Content("~/Scripts/others/html5shiv.js")"></script>
            <script src="@Url.Content("~/Scripts/others/respond.min.js")"></script>
        <![endif]-->*@

    @*@Scripts.Render("~/Bundles/vendor/js/top")*@

</head>
<body class="layui-layout-body">
    <!-- 顶部开始 -->
    <div class="container">
        <div class="logo">
            <a href="@Url.Action("Index","Home")">
                <div class="logo-lg">PithyDesign</div>
                <div class="logo-mini">PD</div>
            </a>
        </div>
        <div class="left_open">
            <a href="javascript:;"><i class="iconfont">&#xe699;</i></a>
        </div>
        <ul class="layui-nav left fast-add" lay-filter="">
            @await Component.InvokeAsync(typeof(TopMenuViewComponent), new { activeMenu = ViewBag.ActiveMenu })
            <li class="layui-nav-item">
                <a href="javascript:;"><i class="fa fa-lightbulb-o"></i>&nbsp;更多</a>
                <dl class="layui-nav-child">
                    <!-- 二级菜单 -->
                    <dd><a onclick="x_admin_show('资讯','http://www.baidu.com')"><i class="iconfont">&#xe6a2;</i>资讯</a></dd>
                    <dd><a onclick="x_admin_show('图片','http://www.baidu.com')"><i class="iconfont">&#xe6a8;</i>图片</a></dd>
                    <dd><a onclick="x_admin_show('用户','http://www.baidu.com')"><i class="iconfont">&#xe6b8;</i>用户</a></dd>
                </dl>
            </li>
        </ul>
        <ul class="layui-nav right" lay-filter="">
            @await Component.InvokeAsync(typeof(LanguageSelectionViewComponent))
            <li class="layui-nav-item">
                <a href="javascript:;">Moss</a>
                <dl class="layui-nav-child">
                    <!-- 二级菜单 -->
                    <dd><a onclick="x_admin_show('个人信息','http://www.baidu.com')">个人信息</a></dd>
                    <dd><a onclick="x_admin_show('切换帐号','http://www.baidu.com')">切换帐号</a></dd>
                    <dd><a href="@Url.Action("Login","Account")">退出</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item to-index"><a href="/">前台首页</a></li>
        </ul>
    </div>
    <!-- 顶部结束 -->
    <!-- 中部开始 -->
    <!-- 左侧菜单开始 -->
    <div class="left-nav">
        <div id="side-nav">
            <ul id="nav">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <i class="iconfont">&#xe6b8;</i>
                        <span class="navContent">
                            <cite>会员管理</cite>
                            <i class="iconfont nav_right">&#xe697;</i>
                        </span>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="@Url.Action("Index","Member")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>会员列表</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="@Url.Action("DeleteMember","Member")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>会员删除</cite>
                            </a>
                        </li>
                        <li>
                            <a href="javascript:;">
                                <i class="iconfont">&#xe70b;</i>
                                <cite>会员管理</cite>
                                <i class="iconfont nav_right">&#xe697;</i>
                            </a>
                            <ul class="sub-menu">
                                <li>
                                    <a _href="@Url.Action("AddMember","Member")">
                                        <i class="iconfont">&#xe6a7;</i>
                                        <cite>增加会员</cite>

                                    </a>
                                </li>
                                <li>
                                    <a _href="@Url.Action("EditMember","Member")">
                                        <i class="iconfont">&#xe6a7;</i>
                                        <cite>修改会员</cite>

                                    </a>
                                </li>
                                <li>
                                    <a _href="@Url.Action("Index","Role")">
                                        <i class="iconfont">&#xe6a7;</i>
                                        <cite>等级管理</cite>
                                    </a>
                                </li>

                            </ul>
                        </li>
                    </ul>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <i class="iconfont">&#xe723;</i>
                        <span class="navContent">
                            <cite>订单管理</cite>
                            <i class="iconfont nav_right">&#xe697;</i>
                        </span>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="@Url.Action("Index","Order")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>订单列表</cite>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <i class="iconfont">&#xe723;</i>
                        <span class="navContent">
                            <cite>分类管理</cite>
                            <i class="iconfont nav_right">&#xe697;</i>
                        </span>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="@Url.Action("Cate","Home")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>多级分类</cite>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <i class="iconfont">&#xe723;</i>
                        <span class="navContent">
                            <cite>城市联动</cite>
                            <i class="iconfont nav_right">&#xe697;</i>
                        </span>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="@Url.Action("City","Home")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>三级地区联动</cite>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <i class="iconfont">&#xe726;</i>
                        <span class="navContent">
                            <cite>管理员管理</cite>
                            <i class="iconfont nav_right">&#xe697;</i>
                        </span>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="@Url.Action("Index","Account")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>管理员列表</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="@Url.Action("AdminRole","Account")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>角色管理</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="@Url.Action("CateAdmin","Account")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>权限分类</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="@Url.Action("AdminRule","Account")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>权限管理</cite>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <i class="iconfont">&#xe6ce;</i>
                        <span class="navContent">
                            <cite>系统统计</cite>
                            <i class="iconfont nav_right">&#xe697;</i>
                        </span>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="@Url.Action("Echarts1","Chart")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>折线图</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="@Url.Action("Echarts2","Chart")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>柱状图</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="@Url.Action("Echarts3","Chart")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>地图</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="@Url.Action("Echarts4","Chart")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>饼图</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="@Url.Action("Echarts5","Chart")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>雷达图</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="@Url.Action("Echarts6","Chart")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>k线图</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="@Url.Action("Echarts7","Chart")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>热力图</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="@Url.Action("Echarts8","Chart")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>仪表图</cite>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <i class="iconfont">&#xe6b4;</i>
                        <span class="navContent">
                            <cite>图标字体</cite>
                            <i class="iconfont nav_right">&#xe697;</i>
                        </span>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="@Url.Action("Unicode","Home")">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>图标对应字体</cite>
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
            <span class="layui-nav-bar" style="top: 134px; height: 0px; opacity: 0;"></span>
        </div>
    </div>
    <!-- <div class="x-slide_left"></div> -->
    <!-- 左侧菜单结束 -->
    <!-- 右侧主体开始 -->
    <div class="page-content">
        <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
            <ul class="layui-tab-title">
                <li class="home layui-this"><i class="layui-icon">&#xe68e;</i>我的桌面</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <iframe src='@Url.Action("Welcome","Home")' frameborder="0" scrolling="yes" class="x-iframe"></iframe>
                </div>
            </div>
        </div>
    </div>
    <div class="page-content-bg"></div>
    <!-- 右侧主体结束 -->
    <!-- 中部结束 -->

    <!-- Global scripts -->
    <environment names="Development">
        <script src="~/lib/json2/json2.js"></script>
        <script src="~/lib/jquery/dist/jquery.js"></script>
        <script src="~/lib/moment/min/moment-with-locales.js"></script>
        <script src="~/lib/jquery-validation/dist/jquery.validate.js"></script>
        <script src="~/lib/blockUI/jquery.blockUI.js"></script>
        <script src="~/lib/toastr/toastr.js"></script>
        <script src="~/lib/sweetalert/dist/sweetalert-dev.js"></script>
        <script src="~/lib/spin.js/spin.js"></script>
    </environment>

    <environment names="Staging,Production">
        <script src="~/lib/json2/json2.js"></script>
        <script src="~/lib/jquery/dist/jquery.min.js"></script>
        <script src="~/lib/moment/min/moment-with-locales.min.js"></script>
        <script src="~/lib/jquery-validation/dist/jquery.validate.min.js"></script>
        <script src="~/lib/blockUI/jquery.blockUI.js"></script>
        <script src="~/lib/toastr/toastr.min.js"></script>
        <script src="~/lib/sweetalert/dist/sweetalert-dev.min.js"></script>
        <script src="~/lib/spin.js/spin.min.js"></script>
        @*<script src="~/view-resources/Views/_Bundles/layout-libs.min.js" asp-append-version="true"></script>*@
    </environment>

    <script src="~/lib/spin.js/jquery.spin.js"></script>
    <script src="~/lib/abp-web-resources/Abp/Framework/scripts/abp.js"></script>
    <script src="~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.jquery.js"></script>
    <script src="~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.toastr.js"></script>
    <script src="~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.blockUI.js"></script>
    <script src="~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.sweet-alert.js"></script>
    <script src="~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.spin.js"></script>
    <script src="~/lib/layui/layui.js"></script>
    <script src="~/js/xadmin.js"></script>

    <script>
        abp.localization.defaultSourceName = '@LocalizationSourceName';
        if (moment) { //Localizing momentjs
            moment.locale('@CultureInfo.CurrentUICulture.Name');
        }

        //百度统计可去掉
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>

    <!-- Dynamic scripts of ABP system (They are created on runtime and can not be bundled) -->
    <script src="~/AbpServiceProxies/GetAll?v=@(Clock.Now.Ticks)" type="text/javascript"></script>
    <script src="~/AbpScripts/GetScripts?v=@(Clock.Now.Ticks)" type="text/javascript"></script>

    <!-- View specific scripts -->

    @RenderSection("scripts", required: false)

</body>
</html>
